.class Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;
.super Ljava/lang/Object;
.source "CropImage.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    iget-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->e:Lcom/estrongs/android/pop/app/imageviewer/CropImage;

    iget v0, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->d:I

    const/4 v2, 0x0

    const/4 v3, 0x1

    if-le v0, v3, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    iput-boolean v0, v1, Lcom/estrongs/android/pop/app/imageviewer/CropImage;->s:Z

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    iget v1, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->d:I

    if-lez v1, :cond_1

    const/4 v0, 0x0

    .line 3
    :goto_1
    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    iget v4, v1, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->d:I

    if-ge v0, v4, :cond_2

    .line 4
    iget-object v4, v1, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->c:[Landroid/media/FaceDetector$Face;

    aget-object v4, v4, v0

    invoke-static {v1, v4}, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->a(Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;Landroid/media/FaceDetector$Face;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 5
    :cond_1
    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->a(Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;)V

    .line 6
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->e:Lcom/estrongs/android/pop/app/imageviewer/CropImage;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/CropImage;->g(Lcom/estrongs/android/pop/app/imageviewer/CropImage;)Lcom/estrongs/android/pop/app/imageviewer/CropImageView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/ImageView;->invalidate()V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->e:Lcom/estrongs/android/pop/app/imageviewer/CropImage;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/CropImage;->g(Lcom/estrongs/android/pop/app/imageviewer/CropImage;)Lcom/estrongs/android/pop/app/imageviewer/CropImageView;

    move-result-object v0

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImageView;->z:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ne v0, v3, :cond_3

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->e:Lcom/estrongs/android/pop/app/imageviewer/CropImage;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/CropImage;->g(Lcom/estrongs/android/pop/app/imageviewer/CropImage;)Lcom/estrongs/android/pop/app/imageviewer/CropImageView;

    move-result-object v1

    iget-object v1, v1, Lcom/estrongs/android/pop/app/imageviewer/CropImageView;->z:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/app/imageviewer/HighlightView;

    iput-object v1, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage;->x:Lcom/estrongs/android/pop/app/imageviewer/HighlightView;

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g$a;->a:Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage$g;->e:Lcom/estrongs/android/pop/app/imageviewer/CropImage;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/imageviewer/CropImage;->x:Lcom/estrongs/android/pop/app/imageviewer/HighlightView;

    invoke-virtual {v0, v3}, Lcom/estrongs/android/pop/app/imageviewer/HighlightView;->a(Z)V

    :cond_3
    return-void
.end method
